package com.wcar.frontsso.feign;

import com.wcar.common.entity.FrontUser;
import com.wcar.common.vo.Result;
import com.wcar.frontsso.feign.factory.UserFeignFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "wcar-system",fallbackFactory = UserFeignFactory.class)
public interface FrontUserFeign {
    @GetMapping("/system/user/fontSelectByName")
    public Result<FrontUser> fontSelectByName(@RequestParam String name);
}
